package com.coin900.coin.persist.fu;

import com.coin900.coin.persist.FuVO;

import java.util.Date;

/**
 * 资产明细表
 *
 * @author shui
 * @create 2017-12-18
 */
public class FuCapitalDetailVO extends FuVO {

    /**
     * 用户 id
     */
    private Long userId;

    /**
     * 类型 1充值记录 2提现记录
     */
    private Integer type;

    /**
     * 目标表的 id
     */
    private Long targetId;

    /**
     * 充值地址
     */
    private String address;

    /**
     * 实际确认数量
     */
    private Double verify;

    /**
     * 交易哈希
     */
    private String hash;

    /**
     * 转账状态 0失败 1已完成 2转账中
     */
    private Integer transferStatus;

    /**
     * 虚拟币 id
     */
    private Long coinId;

    /**
     * 充值提现个数
     */
    private Double balance;

    /**
     * 确认时间
     */
    private Date confirmTime;

    /************非持久化数据开始************/

    private String username;

    /**
     * 审核状态名称
     */
    private String checkStatusName;

    /**
     * 支付状态名称
     */
    private String payTypeName;

    /**
     * 虚拟币简称
     */
    private String coinName;

    /**
     * 转账状态 0进行中 1已完成
     */
    private String transferStatusName;

    /************非持久化数据结束************/

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getVerify() {
        return verify;
    }

    public void setVerify(Double verify) {
        this.verify = verify;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public Integer getTransferStatus() {
        return transferStatus;
    }

    public void setTransferStatus(Integer transferStatus) {
        this.transferStatus = transferStatus;
    }

    public Long getCoinId() {
        return coinId;
    }

    public void setCoinId(Long coinId) {
        this.coinId = coinId;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCheckStatusName() {
        return checkStatusName;
    }

    public void setCheckStatusName(String checkStatusName) {
        this.checkStatusName = checkStatusName;
    }

    public String getPayTypeName() {
        return payTypeName;
    }

    public void setPayTypeName(String payTypeName) {
        this.payTypeName = payTypeName;
    }

    public String getCoinName() {
        return coinName;
    }

    public void setCoinName(String coinName) {
        this.coinName = coinName;
    }

    public String getTransferStatusName() {
        return transferStatusName;
    }

    public void setTransferStatusName(String transferStatusName) {
        this.transferStatusName = transferStatusName;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }
    
    @Override
    public String toString() {
        return super.toString() +
                "FuCapitalDetailVO{" +
                "userId=" + userId +
                ", type=" + type +
                ", targetId=" + targetId +
                ", address='" + address + '\'' +
                ", verify=" + verify +
                ", hash='" + hash + '\'' +
                ", transferStatus=" + transferStatus +
                ", coinId=" + coinId +
                ", balance=" + balance +
                ", username='" + username + '\'' +
                ", checkStatusName='" + checkStatusName + '\'' +
                ", payTypeName='" + payTypeName + '\'' +
                ", coinName='" + coinName + '\'' +
                ", transferStatusName='" + transferStatusName + '\'' +
                ", confirmTime='" + confirmTime + '\'' +
                '}';
    }
}